package com.example.mapper;

import com.example.entity.CourseSelectionResult;
import com.example.entity.example.CourseSelectionResultExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseSelectionResultMapper {
    long countByExample(CourseSelectionResultExample example);

    int deleteByExample(CourseSelectionResultExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CourseSelectionResult record);

    int insertSelective(CourseSelectionResult record);

    List<CourseSelectionResult> selectByExample(CourseSelectionResultExample example);

    CourseSelectionResult selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CourseSelectionResult record, @Param("example") CourseSelectionResultExample example);

    int updateByExample(@Param("record") CourseSelectionResult record, @Param("example") CourseSelectionResultExample example);

    int updateByPrimaryKeySelective(CourseSelectionResult record);

    int updateByPrimaryKey(CourseSelectionResult record);
}